
using System;

namespace Serpis
{
	public class RequiredAttribute : ValidatorBaseAttribute
	{
		public override string Validate(object value)
		{
			if (value == null || value.ToString() == "")
				return "Dato obligatorio";
			return "";
		}
	}
}
